<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <meta http-equiv="Access-Control-Allow-Origin" content="*" />

    <title>注册成功</title>

    <link rel="stylesheet" type="text/css" href="stylesheets/registerInside.css" />
    <link rel="stylesheet" type="text/css" href="stylesheets/icon/iconfont.css" />
</head>

<body>

    <img src="/images/register_success.png" class="image-bg">

    <div class="btn-download">
        <span>立即使用</span>
    </div>
    <script src="/javascripts/zepto.js"></script>
    <!-- <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> -->
    <script>

        var get_uuid_url = 'http://47.98.166.0:8080/video_cms_01/access/setUuid.action';

        $.ajax({
            url: get_uuid_url,
            type: 'GET',
            crossDomain: true,
            async: true,
            data: {},
            dataType: 'json',
            
            success: function (data, status, xhr) {
                console.log('data' + data);
                console.log('status' + status);
            },
            error: function (XMLHttpRequest, textStatus, error) {
                console.log(error);
            }
        });

        window.onload = function () {
            $(".btn-download").on("click", function () {
                download();
            })
        }

        function download() {
            // alert('正在下载')
            // window.open('http://imtt.dd.qq.com/16891/77D7F4117BEDF0C2F9AE78D3E02316F0.apk?fsname=com.sky.vface_1.0_1.apk&csr=1bbd');
            // window.location.reload();
            window.location.href = "http://imtt.dd.qq.com/16891/77D7F4117BEDF0C2F9AE78D3E02316F0.apk?fsname=com.sky.vface_1.0_1.apk&csr=1bbd"
        }

    </script>

</body>

</html>